package com.xiao.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiao.group.common.utils.PageUtils;
import com.xiao.community.entity.GoodsEntity;
import com.xiao.group.common.utils.R;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author 韩国涛
 * @email 2845009006@gmail.com
 * @date 2021-09-10 16:12:39
 */
public interface GoodsService extends IService<GoodsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R tolist();

    R toes(String mohu, Integer page, Integer size,Integer goodsId) throws IOException;

    GoodsEntity findbygoodsid(Integer id);

    Integer goumai(Integer userid,Integer goodsid);

    R tolists();

    List<GoodsEntity> togoodsList(String idss);

    R togoodslists();
}

